﻿using Hotel.Domain.Audit.Implementation;
using Hotel.Domain.Audit.Interfaces;
using Hotel.Domain.Enum;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Domain
{
    /// <summary>
    /// 供应商表
    /// </summary>
    [SugarTable("Supplier")]
    public class Supplier : FullAuditedEntity, IFullAuditedObject
    {
        /// <summary>
        /// 供应商Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public long SupplierId { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string SupplierCode { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public SupplierType SupplierType { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string Fax { get; set; }
        /// <summary>
        /// 电子邮件
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
    }
}
